PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Draw State Constants

You can use constants of type ThemeDrawState with many Appearance Manager functions to specify the state in which human interface elements are drawn.

enum {
    kThemeStateInactive     = 0,
    kThemeStateActive       = 1,
    kThemeStatePressed      = 2,
    kThemeStatePressedUp    = 2,
    kThemeStatePressedDown  = 3
};
typedef UInt32 ThemeDrawState;

Constant descriptions

kThemeStateInactive
The element is drawn in the inactive state.
kThemeStateActive
The element is drawn in the active state.
kThemeStatePressed
The element is drawn in the selected state.
kThemeStatePressedUp
For increment/decrement buttons (also known as "little arrows" controls), the increment button is drawn in the selected state. Available with Appearance Manager 1.1 and later.
kThemeStatePressedDown
For increment/decrement buttons (also known as "little arrows" controls), the decrement button is drawn in the selected state. Available with Appearance Manager 1.1 and later.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)